﻿using Anley.DomainDrivenDesign.Contract.DependencyInjection;
using Anley.DomainDrivenDesign.Contract.Enums;

namespace Anley.DomainDrivenDesign.Contract.Helper;

/// <summary>
/// 随机帮助接口
/// </summary>
public interface IRandomHelper
    : ISingletonAutoInject
{
    /// <summary>
    /// 生成数字字符串
    /// </summary>
    /// <param name="length">字符串长度</param>
    string GenerateNumberString(
        int length);

    /// <summary>
    /// 生成复杂字符串
    /// </summary>
    /// <param name="characterType">字符串类型</param>
    /// <param name="length">字符串长度</param>
    /// <returns></returns>
    string GenerateComplexString(
        CharacterType characterType,
        int length);
}